package com.scala.learn.topN

import org.apache.spark.{SparkConf, SparkContext}

/**
  * @Copyright: Shanghai Definesys Company.All rights reserved.
  * @Description:  用来每个
  * @author: chuhaitao
  * @since: 2019/3/9 14:47
  * @history:
  *          1.2019/3/9 created by chuhaitao
  */
object TopNDemos {

  def main(args: Array[String]): Unit = {
    val conf = new SparkConf().setAppName("TopN").setMaster("local")

    val sc = new SparkContext(conf)


    val lines = sc.parallelize(List("2,laozhuang,20,99", "", ""))

    //lines.map


  }

}
